package com.yl.project.system.files.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yl.framework.aspectj.lang.annotation.Excel;
import javax.persistence.*;
import com.yl.framework.web.domain.BaseEntity;

/**
 * 上传文件信息对象 uploaded_files
 * 
 * @author yl
 * @date 2025-03-10
 */
@Table(name="uploaded_files")
public class UploadedFiles extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文件ID，主键 */
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    /** 业务名称 */
    @Excel(name = "业务名称")

    @Column(name = "yewu_name")
    private String yewuName;
    /** 业务名称 */
    @Excel(name = "业务名称")

    @Column(name = "yewu_id")
    private Long yewuId;
    /** 文件名 */
    @Excel(name = "文件名")

    @Column(name = "file_name")
    private String fileName;
    /** 文件类型（如：image/png, application/pdf） */
    @Excel(name = "文件类型", readConverterExp = "如=：image/png,,a=pplication/pdf")

    @Column(name = "file_type")
    private String fileType;
    /** 文件大小（单位：字节） */
    @Excel(name = "文件大小", readConverterExp = "单=位：字节")

    @Column(name = "file_size")
    private Long fileSize;
    /** 文件存储路径 */
    @Excel(name = "文件存储路径")

    @Column(name = "file_path")
    private String filePath;
    /** 文件描述 */
    @Excel(name = "文件描述")

    @Column(name = "description")
    private String description;
    /** 文件状态（1：正常，0：已删除） */
    @Excel(name = "文件状态", readConverterExp = "1=：正常，0：已删除")

    @Column(name = "status")
    private Integer status;

    @Column(name = "xuhao")
    private Integer xuhao;

    @Column(name = "is_cove")
    private Integer isCove;


    public Integer  getIsCove() {
        return isCove;
    }

    public void setIsCove(Integer  isCove) {
        this.isCove = isCove;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setYewuName(String yewuName) 
    {
        this.yewuName = yewuName;
    }

    public String getYewuName() 
    {
        return yewuName;
    }
    public void setYewuId(Long yewuId)
    {
        this.yewuId = yewuId;
    }

    public Long getYewuId()
    {
        return yewuId;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFileType(String fileType) 
    {
        this.fileType = fileType;
    }

    public String getFileType() 
    {
        return fileType;
    }
    public void setFileSize(Long fileSize) 
    {
        this.fileSize = fileSize;
    }

    public Long getFileSize() 
    {
        return fileSize;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }



    public void setStatus(Integer status)
    {
        this.status = status;
    }
    public Integer getXuhao() {
        return xuhao;
    }
    public Integer getStatus()
    {
        return status;
    }


    public void setXuhao(Integer xuhao) {
        this.xuhao = xuhao;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("yewuName", getYewuName())
            .append("yewuId", getYewuId())
            .append("fileName", getFileName())
            .append("fileType", getFileType())
            .append("fileSize", getFileSize())
            .append("filePath", getFilePath())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("description", getDescription())
            .append("status", getStatus())
                .append("xuhao", getXuhao())
            .toString();
    }
}
